﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSP.Model.CSP;
using System.Web;

namespace CSP.Bll.IObjectBlls
{
    public interface IAuthenticationBll : ICSPBll<Authentication>, IDisposable
    {
        ICollection<Authentication> GetByUser(string userName);

        Authentication Add(Authentication authentication, HttpPostedFile file);

        Authentication GetByIdAndUser(int id, string userName);

        Authentication RemoveByIdAndUser(int id, string userName);
    }
}
